#include <QtGui/QApplication>
#include "mainwindow.H"
#include <QPixmap>
#include <QSplashScreen>

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    QPixmap pixmap("/home/joseangel/ProyectosQT/Interfaz/inicio.jpg");
    QSplashScreen splash(pixmap, Qt::WindowStaysOnTopHint);
    splash.showMessage("Espere");
    splash.show();

    sleep(3.5);
    qApp->processEvents();

    MainWindow w;
    w.show();

    splash.finish(&w);
    return a.exec();
}



